<?php

use yii\helpers\Html;
use yii\web\Request;
/* @var $this yii\web\View */
/* @var $model backend\models\Menu */
if (!Yii::$app->request->isAjax) {
    $this->title = Yii::t('common', 'Update');
    $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Menus listing'), 'url' => ['index','typeid'=>$type]];
    $this->params['breadcrumbs'][] = $this->title;
}
?>
<div class="menu-update">
    <?= $this->render('_form', [
        'model' => $model,
        'type' => $type,
    ]) ?>

</div>
